Lack Of Cohesion Of Test Methods ^^^^^ **Definition:** * Cohesion of a class indicates how strongly related and focused the various responsibilities of a class are [4]. Classes with high cohesion facilitate code comprehension and maintenance. Low cohesive methods are smelly because they aggravate reuse, maintainability and comprehension [6], [12]. The smell Lack of Cohesion of test methods (LCOTM) occurs if test methods are grouped together in one test class, but they are not cohesive. **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `Automated Detection of Test Fixture Strategies and Smells `_ :octicon:`comment-discussion;1em` :octicon:`sync;1em` * `Automatic Test Smell Detection Using Information Retrieval Techniques `_ :octicon:`graph;1em` * `Automatic generation of smell-free unit tests `_ :octicon:`file-code;1em` :octicon:`comment-discussion;1em` * `Just-In-Time Test Smell Detection and Refactoring: The DARTS Project `_ :octicon:`sync;1em` * `Strategies for avoiding text fixture smells during software evolution `_ :octicon:`comment-discussion;1em` :octicon:`graph;1em` :octicon:`sync;1em` * `Test Smell Detection Tools: A Systematic Mapping Study `_